import { get, post } from '../utils/request.js'

const updateAvatar = async (avatarUrl) => {
  return await get('/aimin-auth/wx/updateAvatar',{avatarUrl})
}
const updateNickName = async (NickName) => {
  return await get('/aimin-auth/wx/updateNickName',{NickName})
}
module.exports = {
  updateAvatar,
  updateNickName
}